Fan2d106

object Fan2d106 : ONNXModels.FaceAlignment<Fan2D106FaceAlignmentModel>

This model is a neural network for face alignment that take RGB images of faces as input and produces coordinates of 106 faces landmarks.

The model have

  • an input with the shape (1x3x192x192)

  • an output with the shape (1x212)

Functions

model
Link copied to clipboard
open fun model(modelHub: ModelHub): OnnxInferenceModel
pretrainedModel
Link copied to clipboard
open override fun pretrainedModel(modelHub: ModelHub): Fan2D106FaceAlignmentModel

Properties

inputShape
Link copied to clipboard
open val inputShape: LongArray?

Shape of the input accepted by this model, without batch size.

modelRelativePath
Link copied to clipboard
open override val modelRelativePath: String
preprocessor
Link copied to clipboard
open val preprocessor: Operation<Pair<FloatArray, TensorShape>, Pair<FloatArray, TensorShape>>